<?php
/* @var $this DirectoriesController */
/* @var $model Files */

$this->breadcrumbs=array(
    'Directories'=>array('index'),
    'Upload',
);
?>
<div id="top"><h4><?php echo $massage; ?></h4></div>
<div class="form">
    <?php $form=$this->beginWidget('CActiveForm', array(
        'id'=>'files-upload-form',
        'enableAjaxValidation'=>false,
        'htmlOptions'=>array(
            'enctype'=>'multipart/form-data',
        ),
    )); ?>

    <div class="row">
        <?php echo CHtml::fileField($model, '', array()); ?>
    </div>

    <div class="row buttons">
        <?php echo CHtml::submitButton('Загрузить', array(
            'name'=>'upload',
        )); ?>
    </div>

    <?php $this->endWidget(); ?>
</div>